package com.example.mappers;

import com.example.entity.Location;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface LocationMapper {

    public List<Location> GetAllLocation();
    public Location GetAllLocationByID(Integer location_id);
    public List<Location> GetLocationByLocation(@Param("location") Location location);
    public void AddLocation(Location location);
}
